package com.pacifictextiles.qc.inspection.server.model.vo;

import java.util.List;

public class Roll {

	private float cpi;

	private String dateAndTime;

	private int defectCount;

	private String expRollNo;

	private float fabricWeight;

	private String fullCode;

	private float grossLength;

	private boolean inspectStatus;

	private float netLength;

	private String operatorId;

	private int qualityLevel;

	private String rollNo;

	private String stationId;

	private float space;

	private int totalpoints;

	private float tubeWeight;

	private float wasteLength;

	private boolean weightingStatus;

	private float width;

	private float wpi;
	
	private int indexInBatch;

	private List<Defect> defectList;

	private List<Waste> wasteList;
	
	public Roll() {
		
	}
	
	public Roll(float cpi, String dateAndTime, int defectCount,
			String expRollNo, float fabricWeight, String fullCode,
			float grossLength, boolean inspectStatus, float netLength,
			String operatorId, int qualityLevel, String rollNo,
			String stationId, float space, int totalpoints, float tubeWeight,
			float wasteLength, boolean weightingStatus,
			float width, float wpi, List<Defect> defectList,
			List<Waste> wasteList) {
		super();
		this.cpi = cpi;
		this.dateAndTime = dateAndTime;
		this.defectCount = defectCount;
		this.expRollNo = expRollNo;
		this.fabricWeight = fabricWeight;
		this.fullCode = fullCode;
		this.grossLength = grossLength;
		this.inspectStatus = inspectStatus;
		this.netLength = netLength;
		this.operatorId = operatorId;
		this.qualityLevel = qualityLevel;
		this.rollNo = rollNo;
		this.stationId = stationId;
		this.space = space;
		this.totalpoints = totalpoints;
		this.tubeWeight = tubeWeight;
		this.wasteLength = wasteLength;
		this.weightingStatus = weightingStatus;
		this.width = width;
		this.wpi = wpi;
		this.defectList = defectList;
		this.wasteList = wasteList;
	}
	

	public int getIndexInBatch(){
		return indexInBatch;
	}
	
	public float getCpi() {
		return cpi;
	}

	public String getDateAndTime() {
		return dateAndTime;
	}

	public int getDefectCount() {
		return defectCount;
	}

	public List<Defect> getDefectList() {
		return defectList;
	}

	public String getExpRollNo() {
		return expRollNo;
	}

	public float getFabricWeight() {
		return fabricWeight;
	}

	public String getFullCode() {
		return fullCode;
	}

	public float getGrossLength() {
		return grossLength;
	}

	public float getNetLength() {
		return netLength;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public int getQualityLevel() {
		return qualityLevel;
	}

	public String getRollNo() {
		return rollNo;
	}

	public String getStationId() {
		return stationId;
	}

	public float getSpace() {
		return space;
	}

	public int getTotalpoints() {
		return totalpoints;
	}

	public float getTubeWeight() {
		return tubeWeight;
	}


	public float getWasteLength() {
		return wasteLength;
	}

	public List<Waste> getWasteList() {
		return wasteList;
	}

	public float getWidth() {
		return width;
	}

	public float getWpi() {
		return wpi;
	}

	public boolean isInspectStatus() {
		return inspectStatus;
	}

	public boolean isWeightingStatus() {
		return weightingStatus;
	}

	
	public void setIndexInBatch(int indexInBatch){
		this.indexInBatch = indexInBatch;
	}
	
	public void setCpi(float cpi) {
		this.cpi = cpi;
	}

	public void setDateAndTime(String dateAndTime) {
		this.dateAndTime = dateAndTime;
	}

	public void setDefectCount(int defectCount) {
		this.defectCount = defectCount;
	}

	public void setDefectList(List<Defect> defectList) {
		this.defectList = defectList;
	}

	public void setExpRollNo(String expRollNo) {
		this.expRollNo = expRollNo;
	}

	public void setFabricWeight(float fabricWeight) {
		this.fabricWeight = fabricWeight;
	}

	public void setFullCode(String fullCode) {
		this.fullCode = fullCode;
	}

	public void setGrossLength(float grossLength) {
		this.grossLength = grossLength;
	}

	public void setInspectStatus(boolean inspectStatus) {
		this.inspectStatus = inspectStatus;
	}

	public void setNetLength(float netLength) {
		this.netLength = netLength;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public void setQualityLevel(int qualityLevel) {
		this.qualityLevel = qualityLevel;
	}


	public void setRollNo(String rollNo) {
		this.rollNo = rollNo;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public void setSpace(float space) {
		this.space = space;
	}

	public void setTotalpoints(int totalpoints) {
		this.totalpoints = totalpoints;
	}

	public void setTubeWeight(float tubeWeight) {
		this.tubeWeight = tubeWeight;
	}


	public void setWasteLength(float wasteLength) {
		this.wasteLength = wasteLength;
	}

	public void setWasteList(List<Waste> wasteList) {
		this.wasteList = wasteList;
	}

	public void setWeightingStatus(boolean weightingStatus) {
		this.weightingStatus = weightingStatus;
	}

	public void setWidth(float width) {
		this.width = width;
	}

	public void setWpi(float wpi) {
		this.wpi = wpi;
	}

	

}
